how to write condition in java

visit shbcf.ru